using System.Web;

namespace OpenWaves
{
    public partial class Html
    {
        public static string Encode(string text)
        {
            return HttpUtility.HtmlEncode(text);
        }

        public static string AttributeEncode(string value)
        {
            return HttpUtility.HtmlAttributeEncode(value);
        }
    }
}